// 封面类模块
import request from '@/utils/request'

// 获取导航数据
export function getHeadCategory () {
  return request('/home/category/head', 'GET')
}

export default getHeadCategory

/**
 * @description: 获取分类数据Category页面
 * @param {*} id 分类id
 * @return {*}
 */
export const findTopCategory = (id) => {
  return request('/category', 'get', { id })
}
